export default {
    loggedIn(state){       
        return state.auth.status == 'loggedIn' 
    },
    user(state){
        return state.auth.user
    },
    getEmpById:state=>id=>{
        return state.employees.data.find(e=>e.id==id)
    }
}